﻿#s4-bodyContainer, #s4-mainarea, #MSO_ContentTable, .s4-ba, .ms-bodyareacell, #ctl00_MSO_ContentDiv, #Container
{
    height:100% !important;
    padding-top: 0px !important;
    padding-left: 0px !important;
}


#s4-workspace
{
    overflow-y: hidden !important;
}

/* Layout */
#Container
{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#LeftNav
{
    float: left;
    
    width: 186px;
    background-color: #EFEBEF;
    height: 1000px;
    border-right: 1px solid #CECFD6;
}

#MainZone
{
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 186px;
    margin-right: 210px;
}

#ContentZone 
{
    width: 100%;
    height: 100%;
    float: left;
    margin: 0;
}

#TopBar
{
    float: right;
    margin-top: 3px;
   
}


#TemplateList 
{
    float: left;
    height: 100%;
    width: 100%;
}

#PreviewZone 
{
    width: 210px;
    height: 100%;
    float: right;
}


#SearchBox 
{
    width: 201px;
}

#Preview 
{
    height: 100%;
    margin-top: 5px;
}

#Pager
{
    vertical-align: middle;
    width: 530px;
    text-align: center;
    margin-bottom: 10px;
    position: absolute; bottom: 0;
}


#Pager table {
    margin-left: auto;
    margin-right: auto;
}

#Pager img {
    margin-top: 5px;
}


#ThumbPager 
{
    text-align: center;
    width: 530px;
    margin-bottom: 10px;
    position: absolute; 
    bottom: 0;
}

/* end layout */

/* Left nav */

#Filters
{
    width: 186px;
    margin-right: 13px;
}

#FilterTable > .MenuHeader
{
    padding: 5px 5px 5px 12px;
    margin-bottom: 5px;
    font-size: 11pt; 
    color: #fff;
    font-weight: normal;
    background-color: #5A7184;
    text-align: left;
}

#FilterTable > .MenuItem
{
    padding: 4px 4px 5px 10px;
    margin-left: 10px;
}


#FilterTable div > a
{
    font-size: 8pt; 
    color:#0869A5;
    background-image: none;
}

#FilterTable div > a:hover
{
    color:#42AEF7;
    text-decoration: underline;
}

.LeftMenuSelected
{
    background-color: #fff;
    font-weight: bold;
    background-image: url('/_layouts/templatehub/images/selectedMenu.png');
    background-repeat: no-repeat;
    width: 100%;
}

/* end Left nav */

/* top toolbar */

#TopBar div {
    float: left;
}

.ms-menutoolbar 
{
    height: 0px;
    margin-right: 10px;
    background-image: none;
    border-bottom: 0px;
}

div.ms-viewselector,  div.ms-viewselectorhover
{
    padding-top: 3px;
    padding-bottom: 2px;
}

.menuToolBar
{
    /*background-image: none !important;
    border: none !important;*/
    
}

.toolbarButton {
    margin-left: 2px;
}

.toolbarButton input
{
    height: 16px;
    border: 1px solid #fff !important;
    padding: 3px;
}

input.topNavbarSelected {
    height: 16px;
    border: 1px solid #CECFCE !important;
    background-color: #F7F3F7;
    padding: 3px;
}

.toolbarButton input:hover {
    height: 16px;
    border: 1px solid #CECFCE !important;
    background-color: #fff;
    padding: 3px;
}



/* end top toolbar */

/* search box */

#SearchBox div 
{
    margin-top: 5px;
    border-top: 1px solid #ADAEB5;
    border-right: 1px solid #ADAEB5;
    border-left: 1px solid #EFEFF7;
    border-bottom: 1px solid #EFEFF7;
    height: 20px;
}

.SearchInputBox
{
    width: 155px;
    border-width: 0px;
    float: left;
}

.SearchBtn 
{
    margin-top: 3px;
    margin-right: 4px;
    float: right;
    height: 16px;  
}

/* end search box */

/* Template List */

#TemplateList 
{
}

.ThumbnailItemList {
    
}

.ThumbnailItem 
{
    width: 118px;
    height: 118px;
    border: 1px solid #FFF;
    padding: 6px;
    cursor: hand;

}

.ThumbnailList{ border-collapse: separate !important;}


.ThumbnailItem a, .ThumbnailItemSelected a {
    color: #394D63;
}


.ThumbnailItem:hover {
    border: 1px solid #C6E3F7;
    background-color: #F7FBFF;
    padding: 6px;
}

.ThumbnailItem img, .ThumbnailItemSelected img {
    border-width: 0px;
}

.ThumbnailItemSelected {
    background-color: #E7EBEF;
    border: 1px solid #9CC7DE;
    padding: 6px;
}

.ThumbnailHolder {
    margin: 2px;
    height: 86px;
    width: 64px;
    border: 1px solid #C6E3F7;
    /*display: table-cell;
    vertical-align: middle;*/
}

.ThumbnailImage 
{
}

.ms-listviewtable 
{
    height: 100%;
   
}

table.ms-listviewtable > tbody > tr td{
      
    border: 0px solid red;
    border-collapse: separate !important;
}
/*

table.ms-listviewtable > tbody > tr.ms-selectednav > td {
    clear: both;
    background-color: #E7EBEF !important;
    border-top: 1px solid #9CC7DE !important;
    border-bottom: 1px solid #9CC7DE !important;
}

table.ms-listviewtable > tbody > tr.ms-selectednav {
    background-color: #E7EBEF !important;
    border: 1px solid #9CC7DE !important;
    border-collapse: separate !important;
}
*/

/*
.TemplateItemRow {
    border: 1px solid #fff !important;

}


.TemplateItemRow:hover {
    border: 1px solid #C6E3F7 !important;
    background-color: #F7FBFF;
    border-collapse: separate !important;

}

.ms-selectednav {
    background-color: #E7EBEF !important;
    border: 1px solid #9CC7DE !important;
    font-weight: normal !important;
    border-collapse: separate !important;
}
*/

.ms-vb2 {
    cursor: hand;
    font-size: 8pt;
}

.GridListRowAlternating, .GridListRow {
    padding-top: 10px;
}

.GridListRowAlternating:hover, .GridListRow:hover {
    border: 1px solid #C6E3F7;
    background-color: #F7FBFF;

}

.GridListSelected {
    background-color: #E7EBEF;
    border: 1px solid #9CC7DE;
    font-weight: normal;
}


.ms-listviewtable {
}

table.ms-listviewtable > tbody > tr > td 
{
    padding-bottom: 5px;
}


table.ms-listviewtable > tbody > tr.GridListSelected > td 
{
}

table.ms-listviewtable > tbody > tr.GridListSelected {
}

/* End Template List */

/* Filters */

.ms-vh2 {
    
}

.ms-viewheadertr th {
    padding: 0px !important;
}

.ms-viewheadertr .ms-vh2-gridview {
    height: 0px;
}

/* End Filters */


/* Preview */

.PreviewImageContainer {
    width: 200px;
    height: 200px;
    text-align:center; 
    display:table-cell; 
    vertical-align:middle;
    border: 1px solid #C6E3F7;

}

.PreviewTemplateTitle {
    color:#585959;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
    float: left;
    width: 100%;
 
}

.MetaDataLabel 
{
    float: left;
    margin-top: 5px;
    width: 100%;
}

/* End Preview */


/* create / cancel buttons */

.createButton {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px; 
    width: 60px;
}

.cancelButton {
    float: left;
    margin-right: 8px;
    margin-bottom: 10px;
    width: 60px;
}

#ButtonContainer 
{
    position: absolute;
    bottom: 0px;
    right: 0px;
    margin-top: 0px;
    width: 150px;
}

/* end create / cancel buttons */



/*

#Content
{
    width: 58% !important;
    overflow-y:auto;
    overflow-x:hidden;
    float: left;
    height: 85%;
    min-width: 550px;
}

#ThumbItem
{
    height: 125px;
    width: 125px;
    margin: 10px 8px 0px 0px;
    padding: 4px 0px 2px 0px;
    border: 1px solid #fefefe;
}

#ThumbItem:hover
{
    background-color: rgb(216,232,252);
    border: 1px solid rgb(125,162,206);
}

#ThumbItem img
{
    text-align: center;
    max-width: 84px;
    max-height: 70px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    border: 1px solid #f1f1f1;   
}

.ThumbItemImageContainer
{
    height: 75px;
    display: block;
    vertical-align: middle;
}

.ThumbItemTitle
{
    height: 50%;
}

.ThumbItemTitle span
{
    margin-top: 90%;
    word-wrap: break-word;
}

#Views
{
    margin: 0px 10px 0px 475px;
}

#Views table
{
    float: right;
    margin-top: 0px;
}



#Preview
{
    padding-left: 10px;
    float:right; 
    height: 405px;
    
}

.MetaDataLabel
{
    font-size: 7pt;
}

#Preview img
{
    margin-left: 10px;
    padding: 0px;
    max-width: 180px !important;  
}

.cancelButton, .createButton
{
    width: 100px !important;
    margin-left: auto;
    margin-right: auto;
    float: right;
}

#ButtonContainer
{
    position: absolute;
    bottom: 5px;
    right: 8px;
}



*/